package com.xiaoshu.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author deane
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_score_log")
public class ScoreLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String userId;

    private String scoreType;

    private Float score;

    private LocalDateTime createTime;

    private LocalDateTime modifyTime;

    public ScoreLog(String userId, String scoreType, Float score) {
        this.userId = userId;
        this.scoreType = scoreType;
        this.score = score;
    }
}
